package br.com.guiav6.sisguia.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.guiav6.sisguia.dao.BlocoDao;
import br.com.guiav6.sisguia.entity.Bloco;
import br.com.guiav6.sisguia.service.BlocoService;

@Service("blocoService")
public class BlocoServiceImpl implements BlocoService {
	
	@Autowired(required = true)
	BlocoDao blocoDao;

	@Override
	public List<Bloco> getPosicaoBlocos(String cep) {
		return blocoDao.getPosicaoBlocos(cep);
	}

	@Override
	public Bloco getPosicaoBloco(String cep, String bloco) {
		return blocoDao.getPosicaoBloco(cep, bloco);
	}

	@Override
	public void salvar(Bloco bloco) {
		// TODO Auto-generated method stub
		
	}

}